export type OptionType = {
  value: string
  text: string
}

export type QuestionRatePropsType = {
  title?: string
  rateCount?: number
  rateValue?: number
  defaultValue?: number
  onChange?: (newProp: QuestionRatePropsType) => void
  disabled?: boolean
}
export const QuestionRateDefaultProps: QuestionRatePropsType = {
  title: 'Rate评分',
  rateCount: 5,
  rateValue: 2,
  defaultValue: 2,
}
